package com.clwl.supervise.superviseapp.entity.supervise;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 调查处理设置表
    */
@Data
@TableName(value = "JG_INVESTIGATION_SET")
public class JgInvestigationSet implements Serializable {


    @TableId(value = "ID", type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 1-开启调查处理;2-关闭调查处理
     */
    @TableField(value = "CHECK_STATUS")
    private String checkStatus;


    /**
     * 1-日常检查；2-双随机检查3-非计划；4-飞行检查；5-体系检查;6-专项检查
     */
    @TableField(value = "CHECK_TYPE")
    private String checkType;


    /**
     * 体系检查;1-开启调查处理;2-关闭调查处理
     */
    @TableField(value = "MONITOR_CHECK_STATUS")
    private String monitorCheckStatus;


    /**
     * 监管环节code;
     */
    @TableField(value = "REGULATORY_PROCESS")
    private String regulatoryProcess;



    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 创建人id
     */
    @TableField(value = "CREATOR_ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long creatorId;

    /**
     * 创建人姓名
     */
    @TableField(value = "CREATOR")
    private String creator;

    /**
     * 修改时间
     */
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 修改人id
     */
    @TableField(value = "UPDATOR_ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long updatorId;

    /**
     * 修改人姓名
     */
    @TableField(value = "UPDATED_BY")
    private String updatedBy;

    /**
     * 是否删除：0-否，1-是
     */
    @TableField(value = "DELETE_FLAG")
    private Long deleteFlag;

    private static final long serialVersionUID = 1L;
}
